package com.museum.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.museum.entity.DO.Clue;
import com.museum.entity.DO.ColProcess;
import com.museum.entity.DTO.QueryCol;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Ruiwen
 * @since 2021-01-05
 */
@Repository
@Mapper
public interface ClueMapper extends BaseMapper<Clue> {

    List<Clue> selectColByPage(HashMap<String,Object> map);
    @Select("select * from clue where id = #{id}")
    ColProcess selectProcessById(Integer id);

    List<Clue> selectColByPrice(HashMap<String, Object> map);
}
